/**
 * 证明：同一包下可调用的有：public protected friendly(默认不写)
 */
package test.keyword;

public class Friend
{
	private Parent parent = new Parent();
	
	public void getFriendPublic(){
		parent.getPublicMsg();
	}
	
	public void getFriendProtected(){
		parent.getProtectedMsg();
	}
	
	public void getFriendFriendly(){
		parent.getFriendlyMsg();
	}
}
